package com.hengyue.common.enums;

import com.hengyue.common.core.baseenum.IBaseEnum;

public enum UserStatus implements IBaseEnum<GenderEnum> {


    OK(0,"正常"),

    DISABLE(1,"停用"),

    DELETED(2,"删除");


    UserStatus(Integer code, String description) {
        initEnum(code,description);
    }

    @Override
    public GenderEnum getByCode(Integer code) {
        return getByCode(GenderEnum.class,code);
    }
}
